package cn.ex.ymcc.web.controller;

import cn.ex.ymcc.result.JSONResult;
import cn.ex.ymcc.service.ISysDicService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author: ZeWangmu
 * @Date: 2022/08/16/15:46
 * @Description:
 */
@RestController
public class InitiSysDic {
    @Autowired
    private ISysDicService sysDicService;

    @RequestMapping(value="/search",method= RequestMethod.GET)
    public JSONResult initiSysDic(@PathVariable("courseId") Long courseId){
        sysDicService.initiSysDic();
        return JSONResult.success();
    }

}

